import Vue from 'vue'
import VueStorage from 'vue-ls'
import TreeSelect from '@riophae/vue-treeselect'
import Install from './install'
import VueCron from 'vue-cron'
import countTo from 'vue-count-to'

import '@riophae/vue-treeselect/dist/vue-treeselect.css'
let storageOptions = {
  namespace: 'pro__', // key prefix
  name: 'ls', // name variable Vue.[ls] or this.[$ls],
  storage: 'local' // storage name session, local, memory
}

Vue.component('treeselect', TreeSelect)
Vue.component('countTo', countTo)
// 全局注册应用配置
Vue.use(Install)
Vue.use(VueCron)
Vue.use(VueStorage, storageOptions)
